package com.core.Massa;

import com.core.Massa.MassaBase;

public class Onca extends MassaBase {
	
	public Onca(double valueToBeConverted){
		this.valueToBeConverted = valueToBeConverted;
	}
	
	@Override
	public double ToQuilograma(){
		return this.valueToBeConverted*0.0284;
	}
	
	@Override
	public double ToMiligrama(){
	 return this.valueToBeConverted*28349.5;
	}

	@Override
	public double ToLibra(){
	 return this.valueToBeConverted*0.0625;
	}
	
	@Override
	public double ToGrama(){
	 return this.valueToBeConverted*28.3495;
	}

}
